lin interpolation => cos interpolation

The points are now interpolated with a cos function. But the goal is to
have a true a trigonometric interpolation.