Fixed major issue with animation class

Also added comments with plans on changing some things about animation
class. Specifically, might change from being a struct class to being
normal class and using methods to get private vars. Probably the better
way to do it. Will ask on Stackoverflow.