simplified build structure for libraries
moved MULS and WAVEFUNC structs to C++ classes.
adapting code to use C++ versions of MULS and WAVEFUNC
Heavy modifications to runMulsStem and derivatives.  Changing OpenMP loop structure, simplifying array accesses using C++ vectors, changing where files get saved.