Pricing options with Green's functions when volatility, interest rate and barriers depend on time