Implementing betterFormuler

Problems in betterWarehouse with some wrong argument to length.