calc_cutoff_from_data.default function

Calculate the categories based on the cutoff