Modified the intercept and slope output to files.