[UPDATE] hack to resize matrix figure based on dataset number.