allocate memory for pointers in FitFunc.cxx, so fix bugs; add -g -Wall -O2 flags in Makefile.