Functional Itô Calculus, Path-Dependence and the Computation of Greeks