Patch on the sparse matrices: code formatting and wrong use of constructor.