Added method build_dense_matrix_h2o