Added nthRoot procedure.