Added the sqrt class for calculating square roots