relative coordinate calculation put in seperate function
length calculation between atoms corrected
bond creation automated
function giving back array with bondlengths