Look in the showcase forum. There is a newton topic with a demo, so you can learn how to implent newton into GS.