Comments added to the methods to clarify what they do.

NUM_ITERATIONS increased to 500 iterations to "assure" convergence
Finished documentation and code.