formula to calculate gcv and gar