load correct modules, before doing work
run in more threads#
point rg to correct location (even with averaging)

get invariant working