modified the randomization test for bimodality such that it's a bit more parsimonious and the random occs vector can be used for other functions