Analysis of maneuvering flight of an insect