change atom position to np.array