commented out code for finding the point on the plane closest to the origin, since it was not giving the correct value