public function calculate() { $this->parameters = $this->leastSquares($this->ys, $this->xs)->getColumn(0); }