BF: catch issue where nan in adjmatrix can lead to bad lookup table, and test
Merge pull request #17 from cindeem/nan_fix

BF: catch issue where nan in adjmatrix can lead to bad lookup table, and...
Merge branch 'master' of https://github.com/fperez/brainx