Added comments, and the simulation_result class file