Using [Csordás et al 2021](https://arxiv.org/abs/2010.02066) as a guide, implement differentiable weight masks to be used to detect modular substructures