Swapped functionalities of sqrt and ssqrt