Fix interpolation glitch

The first frame after a new keyframe arrives would be using the wrong interpolation coefficient.
Explain the keyframe interpolation algorithm