Fixes #14 Properly checks dimensional lengths using ndim.

Auxiliary coordinate variables are also allowed, so the dim==name portion has been removed.  Reformatted check to properly check for the increase in dimensionality.
You don't use this var again, so why save it off as one?  just combine it with the for loop.