Fix reduce function, and consider recent observation having more weight in positioning. Add SSID to scan map.