public function reset()
    {
        $this->forcedValue = array();
        $this->xPowers = array();
        $this->xyPowers = array();
        $this->index = 0;
        $this->weightingInterface = NULL;

        $squares = ( $this->numberOfCoefficient - 1 ) * 2;

        // Initialize power arrays.
        for ( $index = 0; $index <= $squares; ++$index )
        {
            $this->xPowers[ $index ] = 0;
            $this->xyPowers[ $index ] = 0;
        }

    }