Subtract mean in build_model_stats.

This should have been included in the fix to #19;
I left it out by mistake.