Rework PsfFlux into new Algorithm interface.