Advanced math function | ScratchStats