Link automatically to the CUDA framework on OS X

Hey Ashwin,

You may be interested in merging the following three commits
- Link automatically to the CUDA framework on OS X
- Revised the OS X section of README.md

and

- Free dynamically allocated memory for matrices in GenDataMP2.cpp