Updated the tutorial
Updates in the documentation of the inverse temperature optimization.
Included an exception for unequal sizes of vectors.
Further work on structure and documentation of the histogram classes.