feature extraction partially functional

Still need to get separation working