Committing draft #1
get max prob estimates, not useful code!