Program to calculate volume of a given sparse matrix in order to use for Load Balancing for sparse matrix multiplication.