Implemented connectivity=8 option for shapes and associated test case.
Merge remote-tracking branch 'Upstream/master'
Merge pull request #67 from brendan-ward/master

Enable connectivity = 8 option for shapes