Space point is a straight line distance C# program