Add CpuTimer;  Add -Ofast for g++ to speed up C++ code