Work towards VSRC2013 compilation.
NULL -> nullptr.
Add flag for C++11 for GCC.
make_pair -> pair.
Make Picard use different criterion for damping factor calculation.