generalize Distribution so that it can used for different number of dimensions
generalize Distribution so that it can used for different number of dimensions

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