Removed clasing variable names dimx, dimy and dimz in subclasses