The Formation of Population I Stars: Part I. Gravitational Contraction