add sqrt functions

Just another square root implementation.