Added regular version of rsi function