Added point-line distance method to Algorithms.