Used FitsScaleError to catch the error representing scale
Added FitsScaleError class for error representing scale