New mex example to print array.
Update gitignore for compiled mex-files.
Minor fixes in sqrt mex example
Minimal MEX example handling a struct.