algo.rogerson function

Modified CUSUM method as proposed by Rogerson and Yamada (2004)