Made it so rot value is calculated from numerator and denominator if it is a fractional rotation gate.