Added a file for testing NEF function computation
- Also made minor changes to other examples
- Made neurons.py not throw a log-of-zero warning when computing rates