Added graphing function, broken regression function