Fundamentals of Cosmology