fitstat_register function

Register custom fit statistics