sized the outputs for chmatrix and pi derivatives in n2pi