Georeferencing historical maps