To calculate the residues position along the coordinates using GROMACS MD trajectory