Fix the compiler to use i32 for array index calculations, so that we don’t crash when we have grids of more than 2^16 elements.
Fix typo in readme.