Don’t use deprecated luminosity_distance function

@eteq @nhmc @aconley - this ensures that the deprecated ``luminosity_distance`` function doesn't get used, and instead the appropriate method is used. Does this look right?
You should remove this "FIXME", as it's now been pushed off to the cosmology package to optimize this (if it isn't already)