seemingly working version of bloch equations, finally