index diagonal in matrices stacked in 3rd dim
new functionality for packing and unpacking object instances. Useful for saving and parallel compute.
return variable size in GB