Ver 0.0.8 Added function ModelThreshold()