1. Check the standard devition for the 'rosenstein' averaging method in computedivergence.m