Added new test; little bit of refactoring.

Changed the word "sigma" to "variance" to better indicate the reasoning.
Added in a new test ("ratio test"), including helper function in there.
Added a function variable in main to cleanly switch from one test to another.
Added an if conditional on the fourth test to make sure it's not the "ratio test" which runs too slowly.
Removed print statement in createConnectionMatrix.
A comment to mention why you are doing this would be helpful (i.e. it's slow :) ).