determinants are now found even when diagonals contain zeroes