Create a dividend calculator to work out dividend income for year on investments in portfolio