Converted the sinusoidal transition function over to named parameters.