cleanup and fixed training
tweak error calculation during training
finish up README