Computes the interquartile range for an array of values.