removed one more squareroot operation

inserted debug output, because results are faulty