A Method to characterize the deformation of an IPMC sensing membrane