Fixed gitignore file, adjusted model
Added changes to how the respiration is determined.