weights per problem style
ensure setup when called directly
Merge pull request #128 from pmineiro/nnweightsperproblem

weights per problem style