Removing commented out code in the driver
Fixing a bug in 2d elastic montaging