Inverted .h and .c files in the noweb files and added support for weave
Fixed alib.tex