Changed the Cell types stored in the matrix to references in Sheet.cc