adding timing to anderson solve and a few optimizations
Merge branch 'master' into uniform_probability