/**
  * Have the parent separate the points into xs and ys.
  * Calculate the regression parameters
  */
 public function __construct(array $points)
 {
     parent::__construct($points);
     $this->calculate();
 }