Added ability to save data
SimulationData also now has size() method (usefull for saving)