code cleanup, fixed bug related to switching to radians in sample app, loop optimization throughout rendering and particles