Added missing sqrt.