Calling numpy percentile only once when doing left and right cut offs
Merge commit '06fd99cbd602dfa9beeef1491cdef2c3ef3bba24' into HEAD