streamlines Neuronal Network and fixes a mistake in the Light Sensor.