added lengthSq, distance, distanceSq
added addPoint
added