changed notation in likelihood slightly