Support NumPy 1.9 in generate_matrix
Support NumPy 1.9 in generate_matrix

chainer/chainer,niboshi/chainer,wkentaro/chainer,chainer/chainer,hvy/chainer,wkentaro/chainer,niboshi/chainer,hvy/chainer,wkentaro/chainer,hvy/chainer,chainer/chainer,hvy/chainer,pfnet/chainer,niboshi/chainer,wkentaro/chainer,chainer/chainer,niboshi/chainer