Merge pull request #61 from nelswad90/master

Reduce computation on node connection matrix