Which force was mostly responsible for the contraction of the gas cloud?