Working percentile iteration and percentile output (with the execption of stddev)