rearranged code into gen_plottables(methods, dataset, framerange) function in compare_kpd.py