Implemented the distanceToEncoder method but have not tested yet. Hoping this will fix the problem of going strait after turn.
Fixed pointer syntax error.
Subtracting the rover length and the side dist from the go to distance.