Thom-Sebastiani and duality for matrix factorizations, and results on the higher structures of the Hochschild invariants