OS X 10.10 / Xcode 6.1

Fixed a crash that was caused by a bad encoding of a C struct to an
NSObject by replacing the Phong material struct with an NFSurfaceModel
object. Additionally updated to support OS X 10.10 and Xcode 6.1.