Foot of the perpendicular by computer | StemPy Lab