Added functionality to calculate the roots of quadratic expresions