Text this: A Modified Structured Spectral HS Method for Nonlinear Least Squares Problems and Applications in Robot Arm Control