REORGANIZE LIBRARY.  LICENSE to GPL-3

Broke the library up into sub-modules, to get ready for adding
more interesting things.

Moved to GPL-3 license in order to bring in GSL for (eg) wavelets
and power spectra.