fixed bug with missing the last atom from atom object
minor bug (left out data point) fixed through double atom test. Otherwise passed test with two atoms oriented in different directions