1. A method for representing a matrix comprising a plurality of non-zero elements, the method comprising: populating, by a computing device, a data array with the plurality of non-zero elements from the matrix; populating, by the computing device, a vector array with information corresponding to the location of each value from among the plurality of non-zero elements.