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