Calculating the interquartile range