A New Insight of the Shortley-Weller Approximation for Dirichlet Problems