Added Newton-Raphson optimization example
Removed obsolete comments.