Thanks Unne, I feel really stupid, I shoud have tried math.sqrt()

*hangs head in shame*