Implementing the linear regression options and UI