fixed some minor formatting in stencil.py