Implementation of the Black-Scholes equation.