New documentation for mechanisms.R
Started -to- functions
Changed the definition of the matching function
Implemented IR constraints function
Removed all previous tests.Deprecated
Fixed some minor glitches in testing, eg testing when A matrix was empty etc