Magnetic actuator using interaction between micro magnetic elements