Add third block parameter
New function & Bugs fixed

1. Add matrixTransfor to transform the format for sparse matrix
2. Fix the previous bugs for the length and position of files