set dims in propagator_steadystate
improved error message. code cleanup.
Merge pull request #118 from jrjohansson/various-fixes

Various fixes