Codes to calculate TL to point, region, using PE/NM model