at bakersfield the track took a sudden and unexpected turn in direction , running thirty miles east before resuming its trek south , and then bending back west again to enter the los angeles basin from the east , rather than from the north , adding sixty miles and thirty minutes to what was supposed to be the most direct route from sacramento through los angeles to san diego .