public function setMathVariable($mathVariable)
    {
        if (is_bool($mathVariable) === true) {
            $this->mathVariable = $mathVariable;
        } else {
            $msg = "The 'mathVariable' argument must be a boolean value, '" . gettype($mathVariable) . "'.";
            throw new InvalidArgumentException($msg);
        }
    }