Major cleanup for stat computation functions. Applied stat computation functions to battle animation. Removed unnecessary functions. Fixed bugs with incorrect range of random number generated for hit, evade, critical chance.