Add gmean, hmean and modes