Five-degree-of-freedom manipulation of an untethered magnetic device in fluid using a single permanent magnet with application i