Modeling of a shape memory material based folding structures: towards self-reconfigurable origami robots