Improves matrices