Data Least Squares solution of the inventory problem in Life Cycle Assessment