Adds -O1 to Matrix.cpp in iOS project file

This remedies crashes in iOS release builds that seem to be caused by optimisations.