Updated comments

Added and removed comments to make understanding easier for those that look at the code