Added pure random function.
Renamed cases to scenarios to avoid confusion.
Also added the case name to the filenames.
Allowed external definition of case to run.
Typos and vector selection index correction for different methods.
Implemented different vector selections for partial correlation and transfer entropy method so they give consistent results.