add evaluateR2derivs to top level