Clean up/Comments

Cleaned up some console print outs, as well as added comments for
clarity, in particular the @param and @returns for helper functions