calc_batch function

Batch carbon footprint calculation