Electromagnetic microactuators with multiple degrees of freedom