Elastic Loop Closure