Add a 2D matrix array-like class.