Rigor is now integrated and running. Use calcRigor(configjson) to run rigor. This is a rough version. Some cleanup may be needed