implementation of omp with local updates, still a bit unstable a not
fully tested. Added some methods to approx, such as update
cleaning of the code and tests. all tests passing