Added gitignore and latex doc with PDF output.