Added __eq__() and __ne__() operator implementation for BaseDimension