added altitude and speed to pedometer