advanced math functions | ScratchStats