Updated _get_current function call.

The _get_current() is depreciated so changed to the new:
 _default_cosmology.get()