A local meshless collocation method for solving certain inverse problems