The EM Algorithm and Extensions