export to adj matrix, minor var list bug fixed