Fixed 'w' code

I used the old code when trying to fix this (the first row dots where 1
2 instead of 1 4).

Fix #21 (for real!)