Changing datatype of frequencies to double instead of "number"