Corrected Javadoc

Spell checked and corrected all comments and added correct punctuation.