"from math import sqrt" is required for Python 2 after all

I'm fairly sure it worked earlier without the import. Odd.