SMS: Computational mechanisms of moral inference