A Nonsingularity Criterion for Matrices