amended .gitignore
re-added plot function
changed fitted.values calculation