fixed deflectionAngles(); re-fixed gradients