Fix a bug in integral image computation, and add constness for input.

	* src/integralImage.hh: Add constness.
	* src/integralImage.hh: Add constness and fix bug.
Added the algorithm.

	  * src/main.cc: Here.