Remove coefficient matrix

also added reduce method