added profit calculation in khanna
Merge branch 'algo_khanna' (with pofit calculation) into all_algos

Conflicts:
	include/config.h