added license headers to all source files
FIX linking against pthread
make dist target
FIX symlink archiving
update ndarray submodule version