changed dict values from str to float

Since the values the dictionary returns are float it would be good to cast them as float