Work on ssesolve

Bug fixes and improvements in the stochastic schrodinger solver.

Work in progress.