Allow matrices of size 2.