Adding parameters for upper and lower bounds for standard deviations.