cleaning up unused function
compare returns const char * now
bug fixes, new tests

all tests currently passing, fixed a bunch of issues, including
incorrect use of for loops, dimnames not getting compared, etc. etc.
also added some new tests