Structure of EM Algorithm