corrected batch loops over connection sets
added mechanisms for poisson inputs