fixed logical err in weight derivs
added is_cancelled()
better default weight sizes
xor test case

also ignoring some sample code from online that I keep around
incorporated manual test suite into unit tests
just fiddling