removed Matrix::resize as it is not used much