Changed internal representation of [lat, lng]s in polygon to arrays of
doubles. Branching out to gpsfilter.