Added aj percentiles functionality