Theoretical analysis and design for a multilayered ionic polymer metal composite actuator