Design and testing of a rotary wing MAV with an active structure for stability and control