Text this: Optimal point-to-point trajectory tracking of redundant manipulators using generalized pattern search