Dividend payment calculation