Constructor to create a Matrix from a list of lists.
Constructor to create a Matrix from multiple collections.