Fixed imperial calculation for negatives, fixed date list off by one, constrain average values to be within the user's range