Computes the closest point on a convex polytope to a given point.