Avoid to use non initialized values.
Minimize robot posture and target posture in objective function.