add functions to calculate resolution factor and (sub) event plane vn