Principles of the EM algorithm