Commented throughout methods

Explained where the computations come from for each of the methods.