added #ifdef statements to cubepm.par and cubepm.fh and modified how they are included in all .f90 files