added example for minimization and added documentation in TRFuncition.cxx