Edits to method.text, including updating matrices in linear equality section