Simulation of micro-mirrors for optical MEMS