Add two if statements for laplace smoothing; Fix sequences in
calculateProbability