Improving the precision of discrete numerical solutions using the generalized integral transform technique