Changed comments

Revised the comments to give a better understanding of the code