Preheat the oven to 350°F (180°C), Gas mark 4. Sift the flour into a bowl and set aside until needed. Cut the butter into small cubes into the bowl of a food processor. Add the sugar and process until it turns into a pale cream.

With the motor running, add one egg with a tablespoon of the sifted flour to stop the egg curdling, then add the other two eggs. When the eggs are incorporated, add the almonds or polenta and whizz again.

Take the lid off the processor and add the rest of the sifted flour with the vanilla extract and milk. Whizz again until you have a smooth cake mixture, scraping the sides of the bowl with a spatula if you need to.

Pour the cake mixture into a greased 8in (20cm) non-stick loaf tin that is about 4in (16cm) deep, levelling off the top. Bake in the lower middle shelf of the oven, checking it after 45 minutes. Check and see if a skewer comes out clean. If not, cook it for another 5-10 minutes until it is cooked through. This will depend on your oven and the size of the tin you use. Leave to cool in the tin for 10 minutes, before turning it out on to a wire rack to cool completely.

To serve, decorate the Madeira cake with lemon rind, if desired, and cut into slices. Arrange on a large plate and put on the table so guests can help themselves.