Mode coupling theory for calculating the memory functions of flexible chain molecules: Influence on the long time dynamics of oligoglycines