adding laplacian smoothing to hmm