Fix bug spotted by Aron
Add compatibility Primitive to Primitve functors
Use nw prim to prim functor
Merge branch 'master' of https://github.com/amonszpart/globOpt