Switching to (a slightly modified version of) Matthias's improved (and Fortran-free) version of PMRRR.