Update demo
Improve pointToLineDistanceSpec
Update rootMeanSquareErrorSpec