move mathfun_context_get to public header
tests++