Actually fixed tests and weighted loss layer. Sign in backprop kills test.