update code to append field name in front of percentile value and fix percentile calculation bug.