Stretchable electronics for soft robots to allow embedded computation