Updated documentation and license, fixed debugging code. fixed symbol errors.