Fix stress tensor calculation (cuda/cpp).  Fix bug in writing to correct position in stress file when continuing from saved configuration (cpp)
Stress tensor calculation updated and tested, different random starting conditions added