On the Formation and Evolution of Disk Galaxies: Cosmological Initial Conditions and the Gravitational Collapse