Added float() coersion for some input values that may be strings.