updates function signature of d1 and d2 functions
Merge pull request #231 from jrjohansson/stochastic-updates

update function signature of d1 and d2 functions
Merge branch 'master' of http://github.com/qutip/qutip into numpy-1.9-compatibility-issues