cleaner scicast_accuracy.R

Added many comments esp. to header. Factored out two functions.  Broke
into one statement per line.  Used standard indenting.  Added some
progress statements.

Needs more work, e.g. “destutter” should be an exportable function.