Added analysis.cpp.