Added function to do complete operations from initial motivations and
percepts to updated motivations and new satisfaction vector.