modified the load2simdmatrix function