Text this: Optimization of Transformation Coefficients Using Direct Search and Swarm Intelligence