hahaha, I hate linear algebra... made "closest to line segment"