amr working, gaussian relvort integral wrong.