NOJIRA Fix horrible indentation in TEP

Should be a little easier to read now.