Use fork of encog to work around bug (for now)