fixed up units checking
fixed some whitespace, import issues
added simple test that merely implements a doctest
more cleanup work, attempts to get indexing working.  Something funny
about it though - why doesn't indexing on pixels work?