Compute the quartiles