New collocation path-following approach for the optimal shape parameter using Kernel method