fixed data import. Added NIPS functions.