distance2d, distancw3d, bearing functions moved here from calculation
distance2d, distance3d, bearing methods moved to base_classes