A nonlinear model for Ionic Polymer Metal Composites as actuators