Return.cumulative function

calculate a compounded (geometric) cumulative return