Minimizing Vibrations in MEMS Devices Efficiently