Added ignores for Linux tempfiles and OS X ds store
changed from -g to -O3 in optimization flags
Added a function to actually apply the majority criterion before testing intransitivity