An Encoded LSTM Network Model for WiFi-based Indoor Positioning