Correctly initialize floats as NaNs where expected.

Fixes #1041.

Initializing secondaryAltitude to NaN also prevents it from being used, which is proper behavior.