make python function callback hamiltonian behavior consistent between mesolve and mcsolve (that is, return matrix representation of Qobj instead of Qobj itself)