Computing the Margin of Victory for Various Voting Rules