fixed typo in naming of calculate_new_frequency calc