Make function not to inherit from IPeakFunction.  Refs #6716.
Merge branch 'feature/6716_remove_from_ipeak' into develop