Edited makesample.c: removed margin, rewrote makewnsample so it doesn't depend on makewavsample.  Removed wavelength array sample.  Added comments here and there.