Improving numeric gradient. If anyone is reading this: Tried 'numdifftools' and its pretty slow :p. Also: Newton method in da house