print shape of sparse mats