Revert "should use from now np.percentiles(..., axis=1)"

This reverts commit c42f57e14e93c7944a68dcb453567aecdd3d94c8.