fixed a bug with AbstractDim > 1; the __gt__ operator was not implemented.