Code cleanup for Encog Program