I couldn't test it all, but now we should be able to cast a Solr field to a matrix, where rows are indexed using unique id field. Note that this unique id field must be cast to integer (We can change this later).

There is also a utility to adjoin multiple matrices, which would allow us to treat multiple matrices from multiple Solr fields as one matrix.

One TODO is a fast and simple way to test the matrix implementation.