Regularizing Transformation Method For Evaluation Of Singular And Near-singular Integrals