reformatted matrix eq.