Pulled formatter out to separate function format.py, altered stat4 and stat5 to call it.  Still need to pick a statistic for stat5.