A new procedure for obtaining the Voigt function dependent upon the complex error function