math.RSI as class