adaptive nearest mean classifier + 1st MArkoc transition matrix