Finished stat math

Finished the stat computation math as well as EV and IV generation.
This also lays the groundwork for battling.