A c program that calculates the distance from a point to a 3d plane