How To Calculate Perpendicular Distance