January 18, 2024 Electronic structure and lattice dynamics of 1T-VSe2: Origin of the three-dimensional charge density wave