Fix isEmpty for Matrices of Empty Vectors