A coupled numerical technique for self-consistent analysis of micro-electro-mechanical-systems