Updated version of calculus | ScratchStats