Takes into account dissipation, from relaxation. Untested for dephasing