Fixed bugs in PERCENTILE_CONT