Bi-directional Actuator using a permanent magnet and solenoid