Changed batch formula weight to be calculated at time of batch save