andrea updated planck_util_prm for python 3