Better sum

Signed-off-by: Cristian Maureira-Fredes <cmaurei@aei.mpg.de>
Merge branch 'master' of github.com:cmaureir/nbi
mass: list comprehension

Signed-off-by: Cristian Maureira-Fredes <cmaurei@aei.mpg.de>