More elegant way of calculating running costs.