What is the fundamental theorem of calculation used for