Changed implementation of ODEManager to one with vector< dvec* > to solve memory issues. Also updated an access error in the instantiation of Reaction* reactions.