Add back in check which makes sure there is at least one intermediate point between source and target nodes
Merge pull request #66 from bpodgursky/master

Add back in check which makes sure there is at least one intermediate point between source and target nodes