added function to generate noise connectivity matrix and test