updated comments

many comments cleaned up.  one variable was renamed.