Add valid attribute to SEDCube and also allow arbitrary metadata to be added to header
Fix use of find_radius_sigma