updated method for generation Bond Matrix
need correctly prepared input file