Mode function

Statistical mode of a vector