Example code for the library SiGMA