En lärare i Jämtland har dömts till sex månaders fängelse för grovt barnpornografibrott.