added PHAF and tested.  Only does highest order parameter for now.
added crappy phaf