Changed math.sqrt() to just a more normal syntax, stupid mistake.