Implemented a threshold-based epa-calc; also used scaling in the implementation. Threshold needs to be defined later