Update template with new features and add latex .gitignore