This code comes from https://github.com/clab/rnng/tree/439950aa30ce1190f948c74ae4ef2fd17ae7a8d3
It was originally released under the Apache License, Version 2.0.
See https://www.apache.org/licenses/LICENSE-2.0
