* Introduced an additional delta_E parameter in metropolis hastings to store the energy
* Introduced references in the simulation to avoid copying