added cosmo_dist function