Add parameter to NearestPoint to support checking for infinite lines
Modified checkpoint calculation for neural network input.

Now the following information is calculated for the checkpoints:
- Relative orientation
- Distance of left/right edges
- Relative direction of left/right edges
Removed unused constants
Use multiple checkpoints for neural network input
Merge pull request #60 from petersohn/master

Improve checkpoint handling for neural networks