The Waggle Dance as an Intended Flight: A Cognitive Perspective