code: function () {
      instance = this;
  
      parser = new FormulaParser(instance);
  
      instance.formulas = Formula;
      instance.matrix = new Matrix();
  
      instance.custom = {};
  
      if (rootElement) {
        instance.matrix.scan();
      }
    }
docs: initial method, create formulas, parser and matrix objects