Fix build.
Fix MOS calculations for 1 sec, not just over interval.