removed abs(CG<double>) specialization for doubles (abs(double) is already present in C++, no need to use fabs)
added some new tests in hessian_with_loops; other minor improvements
new example for pattern detection
improved README