A Combined Inverse Kinematics Algorithm Using FABRIK with Optimization