Factored out shapely methods in favor of a linear algebra method to project points onto line