Insert -> emplace
Remove unused variables
Print out energy values
Try futures