Minimizing manipulator performance variability by selecting control parameters and tolerances for optimal robust design of manipulators