added a working but not perfect implementation of truncated newton (aka Martens Hessian-Free)