The correct answer is A. had known.

The sentence is in the past perfect conditional, which is used to talk about a hypothetical situation that did not happen. The past perfect tense is used to talk about an event that happened before another event in the past. In this case, the event that happened before is "I knew that you would come." The event that did not happen is "I waited for you at the station."

The past perfect conditional is formed with the past perfect of the verb "to have" and the past participle of the verb of the main clause. In this case, the verb of the main clause is "to wait." The past participle of "to wait" is "waited."

The past perfect of "to have" is "had." So, the past perfect conditional sentence is "I would have waited for you at the station if I had known that you would come."

The other options are incorrect because they do not use the past perfect tense. Option B, "have known," is in the present perfect tense. Option C, "was knowing," is in the past progressive tense. Option D, "No improvement," is incorrect because the sentence does not need to be improved.