Fully working sqrt (or so it seems)