Implemented mean in StatsOperator