Electrodeposition and characterization of CoNiMnP permanent magnet arrays for MEMS sensors and actuators