Cleaned up code and comments. Did not fix bug.