fixed last matlab errors due to integrations between Etiennes SpriteKits code
fixed last matlab errors due to integrations between Etiennes SpriteKits code