fixed bug where the last warehouse id is always considered unknown
switched to new naming sheme
added calculation of per warehouse shipments costs
use shipping costs for generalCosts