Biodiesel preparation in a batch emulsification reactor