Tidy up
Update paths
Update for new theta
Remove bad theta, and unused line
Fix for logging debug
Fix paths
Print num processes