Added "endpoint" method

Added an "endpoint" method, to calculate a point given a starting point, distance and heading (in degrees)