Scale value calculation in residual/Calculation.py is wrong
The so-called scale_value generated by residual/Calculation.py's calculate_scale_value method is not actually an angle, but rather a ratio. This means that it must be converted into radians (i.e., multiplied by pi/180, or converted using the numpy.radians method).