fixing dual decomposition based on new derivation
Merge branch 'emerson' of https://github.com/pbailis/spark into emerson