Formulas for inverting square matrices divided into rectangular blocks and their application in modal control | Synapse