cvode template now allows dumping statevariables to prescribed file