fixed error where altitude not defined edina/spatial-memories#44