7/20/2014 B.M. Fixed code and comments.