Several bugfixes

- Inverted triangle direction of non-return items
- Fixed math error in target speed function
- Fixed bug when on routes when reversing a train