Added some new methods to cosmology