Added function to set AGM_Parameters
Fixed modules to use AGM_Parameters