made stuff work

I'm pretty sure the iv calc works. It's at least as accurate as the
default value that serebii gives. I also implemented natures into the
stat calc.