Instead of coming from Marathhalli to hebbal and then to yelahanka, you can as well go directly to Bangalore cant and catch your train.I think there are direct buses to BNC from Marathhalli if not I am sure there are plenty of buses to Shivaji nagar. BNC is just 5 mins from Shivajinagar.