Fixed initialization for variables.  EM loop actually runs now.