Calculation of Source and Structure Parameters at Regional and Teleseismic Distances