Update latex generation
Use ipython with elpy