Fixed some more unit errors.

Started handling cases where some material properties will have values
of NaN or Infinity at different temperatures. This needs to be done in
more detail later.