rotate_DendSer function

Rotates dend based on DendSer