Change printing of dimensionality
Added doctests
Added documentation coverage test