Added code to generate 3D examples & network diagram code.
Faster distance calculations (also, now takes square root!)
New controls use permutation of both genes. Bug fixes and changes in constants.