removed redundatant sqrt()