Add data volume computaiton for matrices.