Cleaned up the comments and some silly coding errors.