rmst function

RMST difference of 2 arms