fix elevation formula and change input for station elevation