matrix is more effincient (vectors as part of matrix for openmp and sequential)