fix division by zero if the matrix is exactly zero
fix division by zero if the matrix is exactly zero

cjntaylor/eigen,pthulhu/eigen,cjntaylor/eigen,pthulhu/eigen,cjntaylor/eigen,pthulhu/eigen,pthulhu/eigen,cjntaylor/eigen,pthulhu/eigen