Controlled pathways and sequential information processing in serially coupled mechanical hysterons