Fixed Linear Transformation Bug