Code Nit Fixups

.. compile time errors and warnings for recent commits
   on slope / altitude.