Trains a new SOM with N waveforms given by a user and saves that SOM to a file
Loads the trained SOM and uses different waveforms and determines the popularity of neurons then saves to a file
takes a trained SOM with popularity and classifies new data then saves out the energy and popularity