Numerical Derivatives, Matrix-Vector Product, and Richardson Extrapolation Using Complex Variables