Text this: Beam Shaping by Mode Superposition With Coefficient Optimization