fitintercept must be double, not bool