Bug fixes & Comments

Fixed presentation issues and commenting of code.