Added function to equalize animations

Equalizing animations makes it so each frame has the same playback
speed. This will be useful for merging animations.
Also added helper functions to assist in equalizing.