Fix computation of Scale in from_header if CD matrix is present.