Intial code from http://www.shearlab.org/index_software.html
Ignoring mex files
Updated so the UDWT files compile on both 32 and 64 bit architectures
Added support for using single or double precision