Properly commented all code the with Java docs standards. Also fixed some minor bugs to found only when all tests were ran together.