Update model.py

Fixed the factor of ten error in the luminosity distance.