refactor: FeedForwardTeacher, Teacher - move logic of calculating error to abstract