Force calculation for localized magnetic driven capsule endoscopes