allow ajointrefinementfunctor to call python code to compute error estimates. Currently there is a seperate function if x passed to compute_error-estimates is a vector or matrix