Optimization and Residence Time Distribution Study of Waste Cooking Oil Transesterification in a Continuous Stirred Tank Reactor