Repairing state interpolation maths
Merge remote-tracking branch 'origin/master'