An Introduction to General Relativity and Cosmology : Theory, Observations, and Applications