updated feature extraction save and load functions