MATLAB nativebayes.m