Fixed pulse bug
Changed gitignore