Pre heat your oven to 180C / 350F / Gas mark 4 and either line or lightly grease a 2lb loaf tin.
In a medium bowl sieve the rice flour, coconut flour, gram flour, baking soda, xantham gum, cinnamon and salt together. If you don't have a sieve then place everything in the bowl and gently whisk everything together until well combined.
In a larger mixing bowl pour in the melted coconut oil (I zapped mine in a microwave for 30 seconds) and the sugar and mix them together.
Add in the mashed banana, eggs, buttermilk and vanilla extract. Mix until everything is very well combined.
Pour in the dry ingredients and gently fold them in to the wet ingredients.
Carefully fold in the halved cranberries.
Pour the batter into your prepared loaf tin and if using sprinkle the sugar on top then pop it in your oven.
At the 30 minute mark you may want to cover your loaf with a tin foil / aluminium foil cover to stop over browning on top.
I have a slow oven so it took exactly 1 hour to bake all the way through but please check you loaf at the 45 minute mark by inserting a skewer into the centre of your loaf. If it comes out clean then it's baked through. Check in several places to make sure. If not give it another 5 minutes and check again.
Once baked through take it out of the oven and leave it for 15 minutes in its tin before turning it out onto a wire rack to fully cool down.
This loaf can be frozen for up to 2 months. Or stored in an airtight container at room temperature for up to 7 days.