Changed the connectivity to be more versatile and put it out of the
firing rate function.