Use smaller size arrays in example
raise a warning instead of an error when a non-linear fitting method is attempted with a linear model