improvment
optimisation !
- Add some factorisation
- Avoid errors on arrays
- optimise some lines
- remove jot and use it like a link
Merge pull request #1 from pouleta/pretty-errors

Improvements by @pouleta. (Thank you @pouleta) :+1: