Text this: Analysis and Optimization of Flapping-Wing Mechanism Based on Genetic Algorithm