Added class OMV for average and variance