Fixed (again and finally!) convex_hull_distance
Fixed writing END keyword when manually setting header in FITS images.