Text this: Magnetic forces and kinematic modeling of folding microrobots for wastewater treatment