Optimization of Microbial Fuel Cells