added 1D H bonds permol code