HF RL Explorer

Adding shape validation for add matrix to collection

Adding shape validation for add matrix to collection: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Adding shape validation for add matrix to collection

The task

**Title:** Adding shape validation for add_matrix_to_collection

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.