Dynamic Modeling Of A Smart Materials Robot