set feature matrix in a different thread to fix #394