MissionPlanner.GridUIv2.getAngleOfLongestSide C# (CSharp) Method