fixed ascent rate, closes #33 . Also fixed another null pointer error