Imported from https://github.com/RushikeshNaidu/Machine-Estimation-of-Exposure---Massdep