In a bowl, combine the flour with the baking powder and salt. In another bowl, using an electric mixer, beat the granulated sugar with the almond paste until the paste turns into fine crumbs. Add the butter and beat until light and fluffy. Add the eggs and yolks, 1 at a time, beating well after each addition. Stir in half of the dry ingredients and then stir in the milk. Stir in the remaining dry ingredients until the batter is smooth.