Removed duplicate code

x_ee and y_ie are the same except using J and W, respectively.
Moved control out of get_excitation_and_inhibition