Add curvatureTransform to createCosmology, to eventually replace the private curvatureFunction
change transform[f] to transform[z,f] in buildFunction
Update comoving- and angularDiameterDistanceFunction to use new buildDistanceFunction
Rename angularDiameterDistanceFunction to transverseDistanceFunction and add angularDiameter- and luminosityDistanceFunction