Removed sqrt function call (minor optimization thanks to Chris)