fixed doublearea in massmatrix