lin interpolation => cos interpolation

The points are now interpolated with a cos function. But the goal is to
have a true a trigonometric interpolation.
Merge remote-tracking branch 'origin/master' into gh-pages