Added first implementation of mean.mql