how do I expand
r(r-r2) the 2 is meant to be r squared