Corrected bug in box/case/pallet analysis...

* Changed version to 1.0.4.0.
* Corrected bug by F. COVASSO\10 october
* Corrected miscellaneous issues with cylinder stacking
* Max pallet height and weight are now settings