fixed exception in wielandt deflation; still needs to pass tests