Changed linear to angle parameterization.