Mode function

Statistical mode