Make matrix better