Updates to ip summary stats code

Minor changes to get summary table to include min, max and n