Add pointToLineDistance function