Adds -O1 to Matrix.cpp in iOS project file

This remedies crashes in iOS release builds that seem to be caused by optimisations.
Merge pull request #873 from WolfgangD/master

Adds -O1 to Matrix.cpp in iOS project file
Merge pull request #878 from blackberry/master

Merge master to next