Diagonals Formula | ScratchStats