new sparse matrix builder, metrics suppport, printing