Added isqrt function from Crenshaw.