add unit tests for unit and cosmology consistency
set decimal accuracy to default where appropriate
Merge branch 'unittests' into #7
allow cosmology to be fixed if passed explicitly, otherwise always currently present cosmo (current when method is called, not when instantiated)