added WGCNA made various bug fixes