Take calculation of percentile indices out

Signed-off-by: Ruben Merz <ruben.merz@ieee.org>