Threshold function

Absolute value of a relative threshold (percentile)