Title: A matrix approach to program description and optimization