Cosmology R Analysis Code