fix some warning about unused variables
Make L2 rotation averaging capable of use relative rotation weight. #139