Read wave.m
Reads wavegauss.pk files. Arguments:
filename - a string containing the name of the file
npoints - waveform upsampling or downsampling is
performed to this number of points
Note: phases are returned in degrees, amplitudes in percent.