fix to minMax and mean
Merge branch 'master' of https://github.com/cdock1029/ceres