Update locspline.R

Again, not working... understandable.

Detect the pattern which will give useful prediction. Huh.