update Matlab interface and cmake,gitignor and downloadscript updates

* added addUnaries function to matlab interface