changes to pde code, added new get_cutoff for pmt