parfor for cnapshot matrix creation