Fixed Pixi Animator issues, added getDuration().

Also fixed some documentation on Math.