Add some connectivity indices
More performance, better API, less code

Still need to re-implement connectivity measures
Performance/API improvements