Calculating fuel consumption and cost