Updating Math library
New engine.runRenderLoop function