Added gitignore
Fixed the frequency analysis script