Added frequencies namespace - utility functions for compressing sorted lists and then merging them or applying percentile calculations to them