Addition of the summaryMeasures method