Started to revive the FADPRM implementation, updating it to better fit with the others (and simplify function signatures). Must still update test programs.