Performed Minor Bug Fixes Added Javadoc Comments