Fixed formatting of output of SourceSystem::writeState

Eigen's default format doesn't put commas between the numbers, so this output
file wasn't directly readable from Python.
Added more info to files generated by SourceSystemCVODE::writeState