gitignore updates and small fixes

updated git ignore file and fixed some function arguments