High Resolution Optical/Magnetic Encoders for micro gerared motors