added hbonds permol code for 1D and 2D analysis