Continuum Robot Shape Estimation Using Magnetic Ball Chains