Begun testing matrix data as 1d-array

This potentially speeds up construction, and any calculations requiring
temporary arrays