summary.pim function

The summary function for the pim class