Added full-network training and tuning functions