Restoring Medieval Edinburgh in the Nineteenth Century