Investigation of Wafer-Level Fabricated Permanent Micromagnets for MEMS