Rosemary, Leek and Potato Torta