Added option to ignore invalid data in Fit. Re #7182.
Disable windows warning. Re #7182.
Added checks for error being nan or inf. Re #7182.
Merge branch 'feature/7182_fit_ignore_option' into develop