Since you're working out so much I suspect you are building muscles and losing fat. Muscles weight more than fat. That could explain your weight gain.