Square root and negative functionality implemented.