Added getters for sizeX and sizeY