To compile this code, you need to involve new features of c++ by adding --std=c+11. you also need to include fftw2 so install it before you compile this code.

The following shows how to compile cem codes. 
	g++ -O3 --std=c++11 cem_exponential_cov.cpp -o cem_exponential_cov -lfftw3 

