An Introduction to Mathematical Cosmology