Migrate old station/schedule init code
Implement tangent functions and path offsets