Updated some of the documentation.

Fixed some minor bugs.

Added better control of parallel processing in MASS.