Simple method for calculating the propagation of terahertz radiation in experimental geometries