Fix PSF3D.to_energy_dependent_table_psf #1268
I plan to make a PR to fix this and to generally improve that class and test coverage tonight.
I've implemented a fix and test in b567349 as well as done some misc improvements of PSF3D code and tests. I did not go the step and re-write it to use NDData here.
I'll merge this if tests pass.