Removed warnings for GCC -Wextra and -pedantic. Cleaned up some support and research files.