work in progress for calculating recipe costs