I think the equation here should be the inverse of R^{-1}.dot(). 
I think the equation here should be the inverse of R^{-1}.dot().
