use cubic interpolation instead of cosine interpolation (little more expensive but gives much better results and will (probably) be optional in the future)