add c++ NGT for rate calculations

add test also
fix a cyclical import

DisconnectivityGraph is imported only where needed in connect_manager.py
forgot to add this test I wrote a long time ago

test for frozen potential