scripting mackey glass - pred%5 bug