Adding square root and cube root functions