Implemented a union for feature extraction. It still doesn't seem to be printing these out correctly.