Generates Second Order Networks with prescribed second order motif frequencies This is the local version of Nykamp code with our patches used in the Paper Guzman et al. Science 2016