Added interatomic distances and array printing