Fix compatibility for Matlab R2013a

setdiff behaviour changed between R2012b and R2013a
Merge pull request #1 from shawngreig/master

Fix compatibility for Matlab R2013a