Text this: Optimization and Synthesis of a Robot Fish Motion