Method to analyze programmable deformation of dielectric elastomer layers | Synapse