Remove duplicative assignment to translateFraction.

Also remove associated waveGravityToCenterPercentageFn().