Added comments and cleaned the code

Animation.cs