added 3d animations to method animate
Merge pull request #21 from fmonsalvo/animation

added 3d animations to method animate