Add .gitignore
Fix paths in build.xml
Fix bug in ExtremePivotsIndex.
Modify estimate threshold command.