Optimized conway.

Instead of calling ``getWidth()`` and ``getHeight()``, use member variables,
so you don't have to call the function over and over again.

This commit also fixes the conway universe to be a torus (by calculating
additions before applying modulus operator).