Adding a new vectorized function for generating __ConnectionistModel which improves the running time from 7secs to <1sec.