Lower Bound Function Python, This means replacing any values below a threshold with the threshold value itself.