Added the function to write the exposure data for each building

2 jobs for master in 1 minute and 46 seconds