Added counting for top 90 and 75th percentiles, in matrix program