added function for omlmax ensemble mean