Bio-Inspired Inertial Sensing By Flapping Wings