28-2-1613. Scope of court's inquiry. In revising a written instrument, the court may inquire what the instrument was intended to mean and what were intended to be its legal consequences and is not confined to the inquiry what the language of the instrument was intended to be.