changed match theta to nproc=1