Variable Phase Approach to Potential Scattering