Text this: Mathematical approach and numerical analysis to the fundamental solutions method of Dirichlet problem