Finalize ooc stdev algorithm.