Result logging and scoring

Logging is now set by default to off and a results reporting function has been added.  Please see comment on gupta_paper.m for details.