Closest Point Calculator