I have not been through this myself but a girlfriend of mine has. Her daughter was really small and not gaining weight at all. After extensive testing they found she has a severe wheat allergy and after removing all wheat products from their house she is finally growing and gaining weight. I hope you find some answers soon and that your little guy starts to gain weight and thrive.