Return nan when vz is 0