removed debugs and fixed percentile calc

percentile = percent * 100