Adding tolerance.cpp