Fixed dist_jaccard and dist_brey for new frequency type and added to_mv_freq() to code to produce multivariate frequency matrices