Create calculateMeteredConsumption.R