Fixed type 4 in analytics.py, and removed obsolete code.
Minor fixes to analytics.py
analytics.py: fixed a number of issues, also added ability to define the range
of connected nodes around a node to search for repeated connectors.
Fix error in detecting duplicated postsynaptic connectors.