fix test error
rename interaction matrix; add function export