Fixed Matab intrf bugs, updated gitignore