Fix segmentation fault in AMG if matrix of one rank is empty.
For this we need to mark a matrix without rows built in row_wise mode as built once the CreateIterator is constructed and correct the number of vertices for a Subgraph of a MatrixGraph with 0 vertices.
This should fix the segementatio fault Kumar is experiencing.