added mex for mac readJPG

still working on getting a clean make script
Finished make file for Mac