Quick and dirty function for converting from redshift to distance.
Warning: this makes some reasonable
assumptions about the cosmology and returns the luminosity
distance. It is only intended for approximate use. If you care
about the details, use one of the more specific functions here.