Modeling and fabrication of ionic polymer-metal composite (IPMC) sensors