get percentile_dict modified, added main function for compound indices(CD, CW, WD, WW) computing