int division

in py3, `a/b` returns a float when `a` and `b` are integer types, which is not the desired behavior for matrix sizes.