added wave extractor, having trouble normalizing things