Finished readbin.py. Notice that numpy is row major, meaning the matrix is transposed after read to python. Sparse matrix is also now tranposed and shown as row major in python.