Fix my nonsensical variable names.
Make training iterations 0-indexed.