More tests and average atom positions
Removed print statements