Updated single neuron example.

Changed the single neuron example to comply with new API.
Fixed incorrect names in singleneuron.py example