Template-Based Optimal Robot Design with Application to Passive-Dynamic Underactuated Flapping | IEEE Conference Publication | IEEE Xplore