i'm now working off pseudocode from http://www.cs.nott.ac.uk/~qiu/Teaching/G53MLE/G53MLE-Note02.pdf... I think what I'm doing is making sense?