Removed unused variables and functions:
	* m_int_thr
	  setIntThres
	  m_prev_source
	  m_prev_data
Remove hard coded parameters:
	* now added two parameters in the constructor
	  checked the cerr to be printed only if debug is true
Added a bool variable for activate the debugging cerr
removed pre_cal_test main program from the Makefile.am