Solve inverse kinematics by ann learning nonlinear mappings, consider smoothness