FABRIKx: Tackling the Inverse Kinematics Problem of Continuum Robots with Variable Curvature