changed IK error bool logic

returned true if out of workspace. Now it returns true if valid (in workspace).