cuminyear_var function

Accumulated variation in year