Changed container matrix of ...Q types to AbstractMatrix as well