Fixed problems with thresholding not handling NAN values properly, also nodes now added on importing association matrix