made nntest more modular using functional programming for great justice.

	new file:   EvoSwarmOpt.jl
	modified:   GradOpt.jl
	modified:   SwarmOpt.jl
	modified:   nntest.jl