Updated code and comments

Updated code and comments
New png from updated code

New png from updated code