major cleanup

Hi.  Very glad to see more from you, I check this blog often.  I rewrote most of the go file, on my machine it runs in less than half the time it did before...still a little less than 2x slower than C though with O3