Updated comments

Added some more detail to the comments to explain how to use the
functions.
Comments updated again

Updated the comments a second time