Create calculateOmegaMean