Inverse kinematics robot calibration by spline functions