Corrected a bug in device.py
Added images extensions in etapes_demo.tex
Updated tex files