An abstract class to be extended and methods overridden to provide
statistics about the data in AbstractGrid2DSquareCell and
Grid2DSquareCellChunkAbstract more optimally.
Returns a Grid2DSquareCellDouble with values of grid
added with values from gridToAdd (with row index between
startRowIndex, endRowIndex and column index between startColIndex,
endColIndex) multiplied by weight.