Theoretical Study of the Transesterification of Triglycerides to Biodiesel Fuel under Various Conditions