Nits
Added references, stating weighted result
Small fixes