perpendicular_point function

Find point perpendicular to 2 points