changed the name of the image repair function to drop the 2d, some doc changes.