attempting to impl the getDistAway from pt algor
still trying to figure out the tangent function in the tests and will take care of point translation next..