Fucntion to compute nearest point on line
First version of random track generator
nearestPoint() now handles zero length lines
Merge pull request #12 from petersohn/master

Random track generator