Fix error with neuron gains being regenerated.
- Fixed issue with neuron gains being regenerated if they were already generated by the calc_direct_connect_transform function
- Updated inhibitory_gating ipython notebook. Fixed formatting.