Merge pull request #1 from opengm/master

from master to my fork
work in progress
added pottsModel3d
Merge pull request #310 from DerThorsten/master

Python: Potts model for 3d Volume with flexible regularizer