TreeRingIndex function

Calculate tree ring index from chronosequence data (year,growth)