keepMaxStatRow function

KEEP ROWS WITH THE MAXIMUM STATISTIC