Finished adding boxes degrees of freedom to minimization for both CG and L-BFGS. Added a new class (ThermoDynamics) to keep track of thermodynamics quantities and print them (it is not complete yet)