Add MaximumAPosteriori
minor edits