Added in 3*StdDev safeguards.