last for() -- k's to i's (consistency)

Instantiated variables such as i in each for() loop are specific to each loop and can therefore be re-used.