added dimension mismatch check to trace_dist
added dimension mismatch check to trace_dist

anubhavvardhan/qutip,cgranade/qutip,cgranade/qutip,qutip/qutip,anubhavvardhan/qutip,qutip/qutip,zasdfgbnm/qutip,zasdfgbnm/qutip