Added default for truncated_newton
Cleared some warnings