All the code I wrote for my projects is available on my Github page this repo. The ENT/README file contains a description of some of the scripts and examples of use. Each directory in the ENT repo contains a detailed description of the scripts it contains, together with examples. I hope this code can be useful!