Fixes to the code provided by Scott
Merge branch 'master' of github.com:spficklin/RMTGeneNet