Former middle school teacher sentenced to jail on sexual battery involving minor