A Novel Machine Learning Technique to Identify and Categorize Plasma Waves in Spacecraft Measurements