Gravar-mail: Dynamic simulation of articulated soft robots