Updated inexact Newton method and added performance metrics