matlab: assert fix for eig