Optimisation of Rural Biomass Waste to Energy Systems