Switch to numpy.array instead of numpy.matrix for matrices module.
Switch to numpy.array instead of numpy.matrix for matrices module.

numpy.matrix can not be numpy.reshape()'ed into numpy.array's, so better
to use numpy.array from the start.

andrewdarmawan/tncontract