Using trigonometry instead of direction function | ScratchStats