added functions for summing weights of graphs + minor refactoring, minor bugfix
Merge branch 'pytables' of github.com:brynjagr/gtrackcore into pytables