modified:   src/project_point_on_line.m
        - Added to_endpoint option to convert project points beyond line to closest endpoint
        - Modified to use to_endpoint option
Merge branch 'master' of https://github.com/Hugovdberg/migtap
Fixed index and comments