Bug fixes. Moved to cityblock distances.