add error traps to Sloan routine (f=>f90) and update build files.