Former offensive coordinator Gonzales leaving team