Add linear referencing functions.

Add functions to project points onto lines and paths.